<template>
  <div>
    <ChildCom />
    <h3>在app.vue里面用store里面的数据： {{ useCounter.count }}</h3>
  </div>
</template>

<script setup lang="ts">
import ChildCom from './components/ChildCom.vue';
import { useCounterStore } from './store/index.ts';

const useCounter = useCounterStore();
</script>
